package com.ruoyi.mes.material.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原料出入库订单明细管理对象 smes_material_out_in_bill_detail
 *
 * @author simpsense
 * @date 2020-12-16
 */
public class SmesMaterialOutInBillDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String outInBillNo;

    /** 条形码 */
    @Excel(name = "条形码")
    private String barcode;

    /** 原料编号 */
    @Excel(name = "原料编号")
    private String materialNo;

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMaterialCategoryName() {
        return materialCategoryName;
    }

    public void setMaterialCategoryName(String materialCategoryName) {
        this.materialCategoryName = materialCategoryName;
    }

    public String getMaterialUnit() {
        return materialUnit;
    }

    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    @Excel(name = "原材料名称")
    private String materialName;
    @Excel(name = "原料类别")
    private String materialCategoryName;
    @Excel(name = "单位")
    private String materialUnit;
    @Excel(name = "原材料规格")
    private String materialSpec;

    /** 计划数量 */
    @Excel(name = "计划数量")
    private BigDecimal planNum;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Excel(name = "备注")
    private String remark;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setOutInBillNo(String outInBillNo)
    {
        this.outInBillNo = outInBillNo;
    }

    public String getOutInBillNo()
    {
        return outInBillNo;
    }
    public void setBarcode(String barcode)
    {
        this.barcode = barcode;
    }

    public String getBarcode()
    {
        return barcode;
    }
    public void setMaterialNo(String materialNo)
    {
        this.materialNo = materialNo;
    }

    public String getMaterialNo()
    {
        return materialNo;
    }
    public void setPlanNum(BigDecimal planNum)
    {
        this.planNum = planNum;
    }

    public BigDecimal getPlanNum()
    {
        return planNum;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("outInBillNo", getOutInBillNo())
                .append("barcode", getBarcode())
                .append("materialNo", getMaterialNo())
                .append("planNum", getPlanNum())
                .append("price", getPrice())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}